import service from '@/utils/request'

// @Tags UserOrderGetPic
// @Summary 创建UserOrderGetPic
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.UserOrderGetPic true "创建UserOrderGetPic"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /userOrderGetPic/createUserOrderGetPic [post]
export const createUserOrderGetPic = (data) => {
     return service({
         url: "/userOrderGetPic/createUserOrderGetPic",
         method: 'post',
         data
     })
 }


// @Tags UserOrderGetPic
// @Summary 删除UserOrderGetPic
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.UserOrderGetPic true "删除UserOrderGetPic"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /userOrderGetPic/deleteUserOrderGetPic [delete]
 export const deleteUserOrderGetPic = (data) => {
     return service({
         url: "/userOrderGetPic/deleteUserOrderGetPic",
         method: 'delete',
         data
     })
 }

// @Tags UserOrderGetPic
// @Summary 删除UserOrderGetPic
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除UserOrderGetPic"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /userOrderGetPic/deleteUserOrderGetPic [delete]
 export const deleteUserOrderGetPicByIds = (data) => {
     return service({
         url: "/userOrderGetPic/deleteUserOrderGetPicByIds",
         method: 'delete',
         data
     })
 }

// @Tags UserOrderGetPic
// @Summary 更新UserOrderGetPic
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.UserOrderGetPic true "更新UserOrderGetPic"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /userOrderGetPic/updateUserOrderGetPic [put]
 export const updateUserOrderGetPic = (data) => {
     return service({
         url: "/userOrderGetPic/updateUserOrderGetPic",
         method: 'put',
         data
     })
 }


// @Tags UserOrderGetPic
// @Summary 用id查询UserOrderGetPic
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.UserOrderGetPic true "用id查询UserOrderGetPic"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /userOrderGetPic/findUserOrderGetPic [get]
 export const findUserOrderGetPic = (params) => {
     return service({
         url: "/userOrderGetPic/findUserOrderGetPic",
         method: 'get',
         params
     })
 }


// @Tags UserOrderGetPic
// @Summary 分页获取UserOrderGetPic列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.PageInfo true "分页获取UserOrderGetPic列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /userOrderGetPic/getUserOrderGetPicList [get]
 export const getUserOrderGetPicList = (params) => {
     return service({
         url: "/userOrderGetPic/getUserOrderGetPicList",
         method: 'get',
         params
     })
 }